0
Welcome Guest! Login
0 items Join Now

PopupMessages Atom - Freebie by MrT

  • Re: PopupMessages Atom - Freebie by MrT

    Posted 5 years 5 months ago
    • Hey Mark!

      Thank you much for creating this... I was the one who re-sparked intrest on git-hub.

      I installed it but it's not working for me. I'm pretty sure I got all the steps... [ I have bad luck :) ]

      I cleared cache and rebuilt css and got nothin :(
      There's a contact page and shopping cart that should pop up a message. Maybe Virtuemart extension is messing with it?

      Would you be able to take a look?
    • Last Edit: 5 years 5 months ago by Jeff Keller.
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13481
    • Web Designer/Developer

    Re: PopupMessages Atom - Freebie by MrT

    Posted 5 years 5 months ago
    • There's a bug in RT templates that cause system messages to not be shown for ajax calls. see https://github.com/gantry/gantry5/commit/f488688ee67a07c9de1bb9ffbecfb7f6dd04138f . The fix has now been implemented in all templates however not all template updates have yet been released (Sienna being one of them). So, you need to apply the fix suggested in the ticket manually yourself (remembering that your template is rt_sienna and not g5_helium)

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
  • Re: PopupMessages Atom - Freebie by MrT

    Posted 5 years 5 months ago
    • Hello Mark,

      Thank you very much for this atom! I've updated the code and it works.

      A question about the functionality, is it possible to get this to work with notifications from J2Store?
      I've recently added this atom to a site with J2Store installed and when you empty the cart the notification is still presented on the page in the standard notification area.
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13481
    • Web Designer/Developer

    Re: PopupMessages Atom - Freebie by MrT

    Posted 5 years 5 months ago
    • All this atom does is to make the normal Joomla "system-messages" area appear in a popup - if your third-party extension does not use that then the atom will have no effect.

      Regards, Mark.
    • The following users have thanked you: MICHAEL KOONTZ

    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
  • Re: PopupMessages Atom - Freebie by MrT

    Posted 5 years 5 months ago
    • I implemented the fix, but it didn't work...
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13481
    • Web Designer/Developer

    Re: PopupMessages Atom - Freebie by MrT

    Posted 5 years 5 months ago
    • Jeff Keller - In your specific case you also needed one line of CSS that I have now added in the top of your custom.scss file.

      Now it works.,

      Regards, Mark.
    • The following users have thanked you: Jeff Keller

    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
  • Re: PopupMessages Atom - Freebie by MrT

    Posted 5 years 5 months ago
    • Ahhh.. it was buried.

      Good work Mark!
      I wish I was as smart as you guys :)
    • The following users have thanked you: MrT

  • Re: PopupMessages Atom - Freebie by MrT

    Posted 5 years 5 months ago
    • MrT wrote:
      All this atom does is to make the normal Joomla "system-messages" area appear in a popup - if your third-party extension does not use that then the atom will have no effect.

      I have just added this on another site and I was testing it with the Contact Form. For all the fields, including any custom fields, it would show the modal if the fields were invalid.

      However, after I successfully sent a message using the contact form, the Message "Thank you for your email." was displayed at the top of the screen normally instead of appearing in a modal.

      Since this is a Joomla "system-messages" is there a way to get this to also display the default Joomla "thank you message" inside a modal window?

      regards,

      Michael
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13481
    • Web Designer/Developer

    Re: PopupMessages Atom - Freebie by MrT

    Posted 5 years 5 months ago
    • I don't have time to investigate this at the moment - but please feel free to modify the atom to suit your needs it's MIT licensed.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
  • Re: PopupMessages Atom - Freebie by MrT

    Posted 5 years 5 months ago
    • Thank you! If I'm able to do something with it I will, however this is out of my wheelhouse and I have run up against a brick wall which is why I was asking for help.
      The only thing I can see that is different, is that when you successfully send a message, the page reloads and there is a new ID added under the #system-message-container, it's #system-message.


      I can however suggest that z-index: 1000; be added to the .g-system-messages.messages-loaded class. I have a few sites where a few items have a z-index of 1, 3, or even 980. So by adding a value of 1000 or greater ensures that it will cover other items on the page.


      Hopefully someone else will have the time to investigate and figure out what is needed in order to get this to show the "Thank you for your email." message after an email is sent using the contact form.


      regards,

      Michael

Time to create page: 0.057 seconds